package com.kaifamiao.demo.d0815;

import java.util.Dictionary;
import java.util.Map;
import java.util.TreeMap;

public class Demo02 {

    public static void main(String[] args) {
        Map map = Map.of("name", "张三", "age", 18);


        System.out.println(map.size());

        System.out.println(map.get("name"));

//        map.put("gender", 1);
    }
}
